smallest string with a given numeric value